package service;

import entity.Master;

import java.util.List;

public interface MasterService {
    void login(String username, String userpassword) throws Exception;

    void register(int userid, String username, String userpassword) throws Exception;

    void update(String username, String userpassword, String oldPassword) throws Exception;

    List<Master> getlist() throws Exception;
}
